package edu.hunau.cxb.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;

/**
 * @author hb
 * @create 2020-04-21 10:16
 */
public class User {
    private Integer id;
    private String username;
    private String pwd;
   // @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dotime;
    private Boolean isActive;

    public Boolean getActive() {
        return isActive;
    }

    public void setActive(Boolean active) {
        isActive = active;
    }

    public User() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public LocalDateTime getDotime() {
        return dotime;
    }

    public void setDotime(LocalDateTime dotime) {
        this.dotime = dotime;
    }
}
